<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Script extends CI_controller {

	public function __construct(){
		parent::__construct();
	}

	public function index(){}

	public function downloadApp() {
		include APPPATH.'third_party/Mobile_Detect.php';
		$detect = new Mobile_Detect;
		if($detect->isiOS()) {
			// redirect($list['merchant_config_value']);
		} elseif($detect->isAndroidOS()) {
			// redirect(base_url('apk/lenovorelonline.apk'));
		} else {
			echo 'Not support!';
		}
	}
}
/* End of file script.php */
/* Location: ./application/controllers/script.php */